package com.bing.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * Created by Administrator on 2016/11/22.
 */
public class TestTable {
    private String name;
    private String sex;
    private int age;
    private String hobby;
    private String tagss;
    private boolean status;
    private String jiguan;
    private String beizhu;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    public TestTable() {
    }

    public TestTable(String name, String sex, int age, String hobby, String tagss, String beizhu, Date createtime, String jiguan, boolean status) {
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.hobby = hobby;
        this.tagss = tagss;
        this.beizhu = beizhu;
        this.createtime = createtime;
        this.jiguan = jiguan;
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getBeizhu() {
        return beizhu;
    }

    public void setBeizhu(String beizhu) {
        this.beizhu = beizhu;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getTagss() {
        return tagss;
    }

    public void setTagss(String tagss) {
        this.tagss = tagss;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getJiguan() {
        return jiguan;
    }

    public void setJiguan(String jiguan) {
        this.jiguan = jiguan;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("TestTable{");
        sb.append("name='").append(name).append('\'');
        sb.append(", sex='").append(sex).append('\'');
        sb.append(", age=").append(age);
        sb.append(", hobby='").append(hobby).append('\'');
        sb.append(", tagss='").append(tagss).append('\'');
        sb.append(", status=").append(status);
        sb.append(", jiguan='").append(jiguan).append('\'');
        sb.append(", beizhu='").append(beizhu).append('\'');
        sb.append(", createtime=").append(createtime);
        sb.append('}');
        return sb.toString();
    }
}
